"""
采集网卡信息
"""
from lib.plugins.BasePlugin import BasePlugin

"""
采集内存信息
"""


class NetworkPlugin(BasePlugin):
    def process(self, ssh_func, hostname):
        info = ssh_func(hostname, 'ifconfig')
        return {'network': info}
